import React, { Component } from 'react'
import PropTypes from 'prop-types'

export default class Test extends Component {
 
  render () {
      console.log('1, render')
     return  <div>{this.props.age}</div>
  }
  componentDidUpdate(){
    console.log('2 componentDidUpdate');
  }
}
